<#assign t=JspTaglibs["/META-INF/tld/tiles-jsp.tld"] />
<#assign s=JspTaglibs["/META-INF/tld/struts-tags.tld"] />
<@s.url value="" var="cntxpth"/>
<@s.set name="contextPath" value="#cntxpth"  />
<@s.set name="templateName" value="#templateName"/>
<@s.set name="resourcePath">/${contextPath}templates/${templateName}</@s.set>

<@s.form  id="form" action="signIn" namespace="/profile" method="POST">
    <ul>
        <li>
            <label>
                <@s.textfield name="user.nickName" id="form_user_nickName" value="${user.nickName!'Your login'}"
                    onblur="if(this.value=='') this.value='Your login'"
                    onfocus="if(this.value =='Your login' ) this.value=''" />
            </label>
        </li>
        <li>
            <label>
                <@s.password name="user.password" value="${user.password!'Your password'}"
                        onblur="if(this.value=='') this.value='Your password'"
                        onfocus="if(this.value =='Your password' ) this.value=''"/>
                </label>
        </li>
        <li>
            <label>

                <button type="reset" style="border: none; background-color: transparent;">
                    <@s.a href="#" cssClass="button buttonReset">Clear</@s.a>
                </button>
                <button type="submit" style="border: none; background-color: transparent;">
                    <@s.a href="#" cssClass="button buttonSubmit">Sign In</@s.a>
                </button>
            </label>
        </li>
    </ul>
</@s.form>